<?php 
/*
	Vista: Vista Default
	
*/
?>

<div id"vista">
<br />
<?php
	echo $tNGs->getLoginMsg();
?>
<?php
	echo $tNGs->getErrorMsg();
?>
<form method="post" id="form1" class="KT_tngformerror" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">
  <table width="300" border="0" cellspacing="0" cellpadding="1" align="center">
  <tr>
    <td bgcolor="#FEFEFE" class="text-dest-titulo-form">Iniciar sesi&oacute;n </td>
  </tr>
  <tr>
    <td bgcolor="#FEFEFE"><table width="100%" align="center" cellpadding="2" cellspacing="0" class="KT_tngtable">
      <tr>
        <td class="KT_th"><label for="OBRUT_usuario">Rut:</label></td>
        <td><input name="OBRUT_usuario" type="text" id="OBRUT_usuario" style="float:left;" onkeyup="validar(this.form);" value="<?php echo KT_escapeAttribute($rscustom->Fields('kt_login_user')); ?>" size="12" maxlength="12" />
            <?php echo $tNGs->displayFieldHint("kt_login_user");?> <?php echo $tNGs->displayFieldError("custom", "kt_login_user"); ?> <a class="new_tooltip" title="Tip::Ingrese el Rut con o si puntos." style="float:left"> &nbsp;?</a></td>
      </tr>
      <tr>
        <td class="KT_th"><label for="OBLIG_password">Clave:</label></td>
        <td><input name="OBLIG_password" type="password" id="OBLIG_password" style="float:left;" onkeyup="validar(this.form);" value="" size="8" />
            <?php echo $tNGs->displayFieldHint("kt_login_password");?> <?php echo $tNGs->displayFieldError("custom", "kt_login_password"); ?> <a class="new_tooltip" title="Tip::Debes usar la contrase&ntilde;a que se te entreg&oacute; en tu correo." style="float:left"> &nbsp;?</a> </td>
      </tr>
      <tr>
        <td class="KT_th"><label for="kt_login_rememberme">Recordarme:</label></td>
        <td><input  <?php if (!(strcmp(KT_escapeAttribute($rscustom->Fields('kt_login_rememberme')),"1"))) {echo "checked";} ?> type="checkbox" name="kt_login_rememberme" id="kt_login_rememberme" value="1" />
            <?php echo $tNGs->displayFieldError("custom", "kt_login_rememberme"); ?> </td>
      </tr>
      <tr class="KT_buttons">
        <td colspan="2"><input type="submit" name="kt_login1" id="kt_login1" value="Ingresar" />
        </td>
      </tr>
    </table></td>
  </tr>
</table>

  <div align="center">
  <a href="?mod=password">Olvid&oacute; su clave ?</a>
  </div>
</form>
<p>&nbsp;</p>
<br />
</div>